//package edu.xidian.bdilab.jrbigdata.security;
//
//import org.springframework.security.core.authority.AuthorityUtils;
//import org.springframework.security.core.userdetails.User;
//import org.springframework.security.core.userdetails.UserDetails;
//import org.springframework.security.core.userdetails.UserDetailsService;
//import org.springframework.security.core.userdetails.UsernameNotFoundException;
//import org.springframework.stereotype.Service;
//
///**
// * @ClassName CustomUserDetailsService
// * @Description TODO
// * @Author tuantuan
// * @Date 2019/4/15 下午7:45
// * @Version 1.0
// * @Attention Copyright (C), 2004-2019, BDILab, XiDian University
// **/
//@Service("UserDetailsService")
//public class CustomUserDetailsService implements UserDetailsService {
//    @Override
//    public UserDetails loadUserByUsername(String userName) throws UsernameNotFoundException {
//        //根据用户名查找用户信息
//        return new User(userName,"12345", AuthorityUtils.commaSeparatedStringToAuthorityList("admin"));
//    }
//}
